<template>
  <div class="nav-title">
    <div class="left"></div>
    <div>
      <span class="title">{{ title }}</span>
    </div>
  </div>
</template>

<script setup lang="ts">
import { defineProps } from 'vue';

const props = defineProps(['title']);
</script>

<style lang="scss">
.nav-title {
  display: flex;
  height: 42px;
  overflow: hidden;
  align-items: center;
  border-bottom: 5px solid rgb(242, 242, 242);
    border-top: 8px solid rgb(242, 242, 242);
  margin-bottom: 2px;
  background-color: #fff;
  
  .left {
    margin-left: 12px;
    width: 4px;
    background-color: #3087ea;
    height: 22px;
  }
  
  .title {
    margin-left: 10px;
    font-size: 16px;

    color: #000;
    font-weight: bold;
  }
}
</style>
